package com.example.xsssglxt.service;

import com.example.xsssglxt.entity.Louyu;
import com.example.xsssglxt.mapper.LouyuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LouyuService {
    @Autowired
    private LouyuMapper louyuMapper;
    public  int louyu(Louyu louyu){
        return louyuMapper.insert(louyu);
    }
    public int louyuxg(Louyu louyu){
        return louyuMapper.update(louyu);

    }
}
